package com.pengzy.comment.core.constant;

/**
 * @author cuizh
 * @version 1.0
 * @date 2021-09-01
 */
public class SecurityConstant {

    public static final String TOKEN="token";

    //request请求头属性
    public static final String REQUEST_AUTH_HEADER = "X-Authorization";

    //网关传递给服务的请求头属性
    public static final String GATEWAY_ACCOUNT="GATE-AUTH";

    //JWT-account
    public static final String ACCOUNT_TYPE = "SCLW_ACCOUNT_TYPE";
    public static final String ACCOUNT_ID = "SCLW_ACCOUNT_ID";
    public static final String ACCOUNT = "SCLW_ACCOUNT";

    /**
     * JWT-TOKEN刷新时间，超过此时间，必须刷新
     */
    public static final String TOKEN_REFRESH_TIME = "SCLW_TOKEN_REFRESH_TIME";



}
